package com.gec.anan.driver.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 创建类获取小程序id和密钥
 */
@Data
@Component
//ConfigurationProperties配置文件的头信息
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxMaProperties {

    //小程序id
    private String appId;
    //密钥
    private String secret;

}